// 登录接口需要携带参数ts类型
export interface loginForm {
    username: string,
    password: String
}

interface dataType {
    token: string
}
export interface loginResponseData {

    code: number,
    data: dataType
}
export interface userInfo {
    userId: number,
    avatar: string,
    usernamr: string,
    password: string,
    desc: string,
    roles: string[],
    button: string[],
    routes: string[],
    token: string,
}

export interface user {
    checkUser: userInfo
}
export interface userInfoReponseData {

    code: number,
    data: user
}